package com.bridgeintelligent.tag.scene.api.vo;

import com.bridgeintelligent.tag.scene.api.enums.FunctionTypeEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @description
 * @author: grp 2021-01-07 11:12
 **/
@Getter
@Setter
@Accessors(chain = true)
public class SceneVO {
    private String id;
    private String name;
    private String catalogId;
    private String catalogName;
    private String synopsis;
    private String functionType;
    private String functionId;
    private String functionName;
    private Integer sort;
    //置顶 00否 01是
    private Integer top;
    // 状态 00暂存 01提交
    private String state;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    @JsonProperty(value = "isScene")
    private boolean scene=true;
    private String type;
    private String cid;
    private String instanceId;
    private String userId;
    private String indexId;

}
